package com.nkym.wypan.model.req.fileinfo;/*
 * @ClassName MergeReq
 * @Desc TODO
 * @Author 19637
 * @Date 2023/6/11 23:43
 * @Version 1.0
 */

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class ChunkMergeReq implements Serializable {

    private static final long serialVersionUID = 1L;
    @NotNull(message = "父目录ID不能为空")
    private Long parentId;
    @NotBlank(message = "文件唯一标识不能为空")
    private String identifier;
    @NotNull(message = "分片总数不能为空")
    private Integer chunkTotalNumber;
    @NotBlank(message = "文件名不能为空")
    private String filename;

}
